.map-tree {
  // position: absolute;
  // top: 20px;
  // left: 20px;
  // z-index: 9;
  font-size: 12px;

  // .icon-title {
  //   background-color: #3477ec;
  //   color: #fff;
  //   cursor: pointer;
  //   padding: 16px 8px;
  //   width: 30px;
  //   height: 60px;
  // }

  .tree-title {
    height: 34px;
    background-color: #fff;
    color: #555;
    display: flex;
    padding: 8px 10px;
    line-height: 18px;

    &.active {
      background-color: #2F7BFA;
      color: #fff;
    }

    img {
      margin-right: 4px;
    }
  }

  .tree-wrapper {
    // padding: 4px 10px;
    width: 0;
    height: 0;
    top: 60px;
    left: 0;
    position: absolute;
    padding-top: 10px;
    overflow: hidden;
    transition-property: width, height;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);

    &.show {
      width: 200px;
      height: 600px;

      .trangle {
        opacity: 1;
      }

      .tree-title {
        display: flex;
      }
    }

    .trangle {
      opacity: 0;
      position: absolute;
      top: 1px;
      left: 10px;
      width: 0;
      height: 0;
      border-right: 5px solid transparent;
      border-left: 5px solid transparent;
      border-bottom: 9px solid #108ee9;
    }

    .tree-title {
      display: none;
      align-items: center;
      background-color: #108ee9;
      color: #fff;
      height: 30px;
      padding: 0 10px;

      span {
        flex-grow: 1;
        margin-left: 10px;
      }

      .anticon-double-left {
        cursor: pointer;
        transform: rotate(90deg);
      }
    }
  }

  .tree-icon {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }

  ::ng-deep {
    .ant-tree {
      background-color: #fff;
      padding: 4px 0;
      width: 200px;
      max-height: 56vh;
      overflow-y: hidden;

      &:hover {
        overflow-y: auto;
      }

      li span.ant-tree-checkbox{
        margin: 0;
      }

      .folder-name {
        color: #555;
      }

      .file-name {
        color: #777;
      }
    }

    .ant-tree-treenode-selected {
      background-color: #d3e8f3;
    }

    .ant-tree-checkbox+span {
      padding-right: 4px;
      padding-left: 6px;
    }
  }
}
